<?php
namespace app\common\validate;

use think\Validate;

class RoomBackground extends Validate
{
    protected $rule = [
        'brief|简介'  =>  'require',
        'img|背景图片'  =>  'require',
        'sort|排序'  =>  'require|between:1,99',
    ];
}